﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KnBinarySerializer.Tests.Ent
{
    public class ParmRow
    {
        private Dictionary<string, object> _rowValues = new Dictionary<string, object>();

        public Dictionary<string, object> ItemArray
        {
            get { return _rowValues; }
            //set { _rowValues = value; }
        }

        public object this[ParmColumn col]
        {
            get { return this[col.Name]; }
            set { this[col.Name] = value; }
        }

        public object this[string colName]
        {
            get { return _rowValues[colName]; }
            set { _rowValues[colName] = value; }
        }
    }
}
